home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / IBPalettes / WWTCLKit / WWSimpleImageView.h < prev    next >
Encoding:
Text File  |  1995-03-22  |  1.6 KB  |  66 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4. @interface WWSimpleImageView:View
  5. {
  6.    NXColor  backgroundColor;
  7.    float    alpha;
  8.    id        image;
  9.    float    aspectRatio;
  10.    int      aspectRatioType, borderType, horizontalLayoutType, verticalLayoutType;
  11.    BOOL     imageUnder;
  12.    BOOL     scaleToFit, clearTheView; 
  13.  
  14.    // control panel stuff
  15.    id  controlPanel;
  16.    id  controlPanelView;
  17.    id  controlPanelSwitchView;  // optionally set by someone who wants to manage the controlPanel and View
  18.    id  theColor;
  19.    id  theImage;
  20.    id  theMovie;
  21.    id  alphaSlider;
  22.    id  fpsText;
  23.    id  aspectRatioMatrix;
  24.    id  horizontalLayoutMatrix;
  25.    id  customAspectRatioText;
  26.    id  scaleSwitch;
  27.    id  imageUnderSwitch;
  28.    id  rotateTo;
  29.    id  borderTypeMatrix;
  30.    id  verticalLayoutMatrix;
  31.    id  stationaryBehaviorMatrix;
  32.    id  archiveImageDataSwitch;
  33.    id  archiveMovieDataSwitch;
  34.    id  loopSwitch;
  35.    id  drawCorrectlySwitch;
  36.  
  37. }
  38.  
  39. - (NXColor) backgroundColor;
  40. - setBackgroundColor:(NXColor)c;
  41. - (float) alpha;
  42. - setBackgroundAlpha:(float)n;
  43. - setBorderType:(int)newBorderType;
  44. - (int)borderType;
  45. - setImageFile:(const char *)filename;
  46. - setImage:i;
  47. - image;
  48. - setAspectRatioFromMatrix:sender;
  49. - setAspectRatio:sender;
  50. - setAspectRatioType:(int)newAspectRatioType;
  51. - (int)aspectRatioType;
  52. - (float)aspectRatio;
  53. - (BOOL)imageUnder;
  54. - setImageUnder:(BOOL)flag;
  55. - sizeToImage:sender;
  56. - (BOOL)scaleToFit;
  57. - setScaleToFit:(BOOL)flag;
  58. - setHorizontalLayoutFromMatrix:sender;
  59. - (int)horizontalLayoutType;
  60. - setVerticalLayoutFromMatrix:sender;
  61. - (int)verticalLayoutType;
  62.  
  63. - (const char *)getInspectorClassName;
  64.  
  65. @end
  66.